// pages/component/school.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    schoolData: {
      type: Array,
      value: []
    },
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    clickSchool(e) {
      let schoolData = e.currentTarget.dataset.school;
      console.log(schoolData)
      wx.navigateTo({
        url: '/pages/school/details/details'
      })
    }
  }
})
